<?php require_once BASEPATH . 'apps/default/views/header.phtml'; ?>

<form action="/account/signup" method="post">
<?php if (isset($this->error)) { ?>    <p class="error"><?php echo $this->escape($this->error); ?></p> <?php } ?>
    <?php $error = isset($this->errorUsername); ?>
    <label for="username"<?php if ($error) echo ' class="error"'; ?>>Usuário:</label> <input type="text" name="username" id="username" maxlength="20" /><br />
    <?if ($error) echo '<p class="error">' . $this->escape($this->errorUsername) . '</p>'; ?>
    <label for="password1">Senha:</label> <input type="password" name="password1" id="password1" />
        <input type="password" name="password2" id="password2" /><br />
    <label for="fullname">Nome completo:</label> <input type="text" name="fullname" id="fullname" maxlength="60" /><br />
    <?php $error = !empty($this->errorEmail); ?>
    <label for="email"<?php if ($error) echo ' class="error"'; ?>>Email:</label> <input type="text" name="email" id="email" maxlength="255" /><br />
    <?if ($error) echo '<p class="error">' . $this->escape($this->errorEmail) . '</p>'; ?>
    <label for="website">Website:</label> <input type="text" name="website" id="website" maxlength="255" /><br />
    <input type="submit" value="Sign Up" />
</form>

<?php require_once BASEPATH . 'apps/default/views/footer.phtml'; ?>
